package com.service.pay.diamond.dto.recharge;

import com.tool.base.config.constraints.annotation.Enum;
import lombok.Data;

import javax.validation.constraints.Positive;

@Data
public class RechargeDto {
    @Positive(message = "充值价格类型错误")
    private int id;
    @Enum(allowList = {"weixin"}, message = "充值方式错误")
    private String payment;
}
